﻿using System;
using System.Collections.Generic;
using System.Text;
using DALFactory.DataBase;
using AppToolKit.Core.Context.Spring;
using System.Data;

namespace BLL.Business
{
    public class FormBusiness
    {
        [AutoWiring]
        public AccessHelper AccessHelperHolder { get; set; }

        public DataSet GetTaskDetailList()
        {
            string strSql = string.Format("select isnull(a.[check],'false')  [check] ,t.* from task t LEFT OUTER JOIN allotment a "
+ "on t.code=a.task_code");

           return AccessHelperHolder.GetDataSet(CommandType.Text, strSql);
        }
    }
}
